<?php
/**
 * OneBase 安装模块路由配置
 * @author 王勇程 <laughskydragon@qq.com>
 */

use think\facade\Route;

// 安装首页（当前应用内写法）
Route::get('/', 'Index/index');
Route::get('index', 'Index/index');

// 环境检测
Route::get('step1', 'Index/step1');
Route::any('step1', 'Index/step1');

// 数据库配置和安装
Route::get('step2', 'Index/step2');
Route::post('step2', 'Index/step2');

// 安装完成
Route::get('complete', 'Index/complete');
Route::any('complete', 'Index/complete');